import React from "../react/index"
class Button extends React.Component{
    constructor(props){
        super(props);
        
    }
    componentWillReceiveProps(poops){
        console.log(poops)
    }
    render(){
        
        return (
            <div >
                <button>{this.props.name}</button>
            </div>
        )
    }
}
export default Button;